#ifndef MY_WIDGET_H
#define MY_WIDGET_H

#include <qwidget.h>

class QTimer;
class InnerWidget;
class DownWidget;

class MyWidget
	: public QWidget
{
	Q_OBJECT
	
	QTimer * timerHide;

public:
	MyWidget(QWidget * parent = 0, const char * name = 0);
	~MyWidget();

	InnerWidget * pInnerWidget;
	DownWidget * pDownWidget;
	
	void enterEvent(QEvent *);
	void leaveEvent(QEvent *);

	void show();
	void hide();
	
public slots:	
	void hide_time();
};


#endif //MY_WIDGET_H
